/*Pretty Bugreport originally by Roman Nurik*/

html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.bugreport {
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-align: justify;
    -webkit-box-pack: justify;
    width: 100%;
    height: 100%;
}

/* sidebar */

.bugreport-sidebar {
    width: 350px;
    background: #eee;
    box-shadow: 1px 0 1px rgba(0,0,0,0.45);
    overflow-y: scroll;
}

.bugreport-tree {
    margin-left: 16px;
}

.bugreport-part ul {
    display: none;
    margin-left: 16px;
}

.bugreport-part.bugreport-has-children.bugreport-expanded ul {
    display: block;
}

.bugreport-part {
    position: relative;
    list-style: none;
    margin: 0;
}

.bugreport-tree-title {
    font-family: menlo, monospace;
    padding: 4px 8px 4px 4px;
    cursor: pointer;
    font-size: 11px;
    border-radius: 2px;
}

.bugreport-tree-subtitle {
    display: block;
    font-size: 9px;
    color: rgba(0,0,0,0.5);
}

.bugreport-selected > .bugreport-tree-title {
    background: #33b5e5;
    color: #fff;
}

.bugreport-selected > .bugreport-tree-title .bugreport-tree-subtitle {
    color: rgba(255,255,255,0.75);
}

.bugreport-part.bugreport-has-children:before {
    content: '\25b6';
    opacity: 0.25;
    position: absolute;
    left: -16px;
    top: 0;
}

.bugreport-part.bugreport-has-children.bugreport-expanded:before {
    content: '\25bc';
}

.bugreport-sidebar::-webkit-scrollbar {
    background: transparent;
    width: 8px;
    height: 8px;
}

.bugreport-sidebar::-webkit-scrollbar-thumb {
    /*-webkit-background-clip: padding-box*/;
    border: 2px solid #eee;
    background: rgba(0,0,0,0.25);
}

/* detail and toolbar */

.bugreport-detail {
    -webkit-box-flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-box-pack: justify;
    -webkit-box-align: justify;
}

.bugreport-toolbar {
    background: #eee;
    box-shadow: 0 1px 1px rgba(0,0,0,0.45);
    padding: 16px;
    height: 36px;
}

.bugreport-toolbar input {
    border: 1px solid #ccc;
    box-shadow: 0 1px 1px rgba(0,0,0,0.5) inset;
    border-radius: 2px;
    font-family: menlo, monospace;
    padding: 4px 8px;
    outline: 0;
}

.bugreport-content {
    position: relative;
    padding: 16px;
    -webkit-box-flex: 1;
    overflow: scroll;
    counter-reset: section;
}

pre {
    font-family: menlo, monospace;
}

/* system log */

.bugreport-system-log-debug {
    color: #ccc;
}

.bugreport-system-log-warn {
    color: #c90;
}

.bugreport-system-log-error {
    color: #f44;
}

.bugreport-at-least-errors .bugreport-system-log-warn,
.bugreport-at-least-errors .bugreport-system-log-debug,
.bugreport-at-least-errors .bugreport-system-log-other {
    display: none;
}

.bugreport-at-least-warnings .bugreport-system-log-debug,
.bugreport-at-least-warnings .bugreport-system-log-other {
    display: none;
}

.nomatch {
   display: block;
}
